package com.shxc.smarttrade.old.bean;

import java.util.List;

/**
 * Created by jcdev1 on 2017/5/17.
 */

public class TransactionDatas {

    /**
     * data : {"symbols":[{"symbolEn":"AUDCAD","symbolCn":"澳元加元","ask":1.00935,"bid":1.00905,"market":null,"spread":30}]}
     * err_code : 0
     * err_msg : successe
     */

    private DataBean data;
    private String err_code;
    private String err_msg;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public static class DataBean {
        private List<SymbolsBean> symbols;

        public List<SymbolsBean> getSymbols() {
            return symbols;
        }

        public void setSymbols(List<SymbolsBean> symbols) {
            this.symbols = symbols;
        }

        public static class SymbolsBean {
            /**
             * symbolEn : AUDCAD
             * symbolCn : 澳元加元
             * ask : 1.00935
             * bid : 1.00905
             * market : null
             * spread : 30
             */

            private String symbolEn;
            private String symbolCn;
            private double ask;
            private double bid;
            private Object market;
            private int spread;
            private int digits;
            private double yesterdayClosePrice;

            public double getYesterdayClosePrice() {
                return yesterdayClosePrice;
            }

            public void setYesterdayClosePrice(double yesterdayClosePrice) {
                this.yesterdayClosePrice = yesterdayClosePrice;
            }

            public int getDigits() {
                return digits;
            }

            public void setDigits(int digits) {
                this.digits = digits;
            }

            public String getSymbolEn() {
                return symbolEn;
            }

            public void setSymbolEn(String symbolEn) {
                this.symbolEn = symbolEn;
            }

            public String getSymbolCn() {
                return symbolCn;
            }

            public void setSymbolCn(String symbolCn) {
                this.symbolCn = symbolCn;
            }

            public double getAsk() {
                return ask;
            }

            public void setAsk(double ask) {
                this.ask = ask;
            }

            public double getBid() {
                return bid;
            }

            public void setBid(double bid) {
                this.bid = bid;
            }

            public Object getMarket() {
                return market;
            }

            public void setMarket(Object market) {
                this.market = market;
            }

            public int getSpread() {
                return spread;
            }

            public void setSpread(int spread) {
                this.spread = spread;
            }
        }
    }
}
